import Herotestw.KamenRider;
import Herotestw.Ultraman;

import java.util.Scanner;

public class KamenRiderTest{
    public static void main(String[] args) {

        Scanner input = new Scanner(System.in);
        KamenRider[] ka = new KamenRider[2];
        for (int i = 0; i < ka.length; i++) {
            ka[i] = new KamenRider("名字", 0, 100, 100, "技能","骑士真名","骑士座右铭" ,true, "主色调", "形态");
            System.out.println("请输入英雄名");
            String inputn = input.nextLine();
            System.out.println("请输入年龄");
            int inputa = input.nextInt();
            System.out.println("请输入攻击力");
            int inputf = input.nextInt();
            System.out.println("请输入防御力");
            int inputd = input.nextInt();
            input.nextLine(); //接收掉nextint的空格
            System.out.println("请输入技能");
            String inputs = input.nextLine();
            System.out.println("输入骑士名");
            String printr = input.nextLine();
            System.out.println("输入口头禅");
            String printm = input.nextLine();
            System.out.println("输入立场");
            int loads = input.nextInt();
            input.nextLine();
            System.out.println("输入主色调");
            String inputm = input.nextLine();
            System.out.println("输入形态");
            String inputt = input.nextLine();
            ka[i].setRiderInfo(inputn, inputa, inputf, inputd, inputs, printr, printm);
            ka[i].getRiderInfo();
            ka[i].setShow(loads, inputm, inputt);
            System.out.println(ka[i]);
        }
        System.out.println("两个假面骑士相同吗" + ka[0].equals(ka[1]));
        KamenRider k = new KamenRider("KanmenRider W", 20, 100, 100, "Double Face Kick", "Phlip", 
        "Two in one detective", true, "purple and green", "MOON type");
        Ultraman utk = new Ultraman("Mebious","Hibino Milai", k);
        utk.heroConnection();
    }
}